import request from '/@/utils/request';
import { AxiosRequestConfig } from 'axios';

//================================================================
// 获取算法模型设备绑定列表 分页查询
export const QueryPageList = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmModelDeviceBind/QueryPageList',
		method: 'post',
		data: params,
		multiPartFormData: false,
	} as AxiosRequestConfig);
}

// 算法模型设备绑定 新增
export const Add = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmModelDeviceBind/Add',
		method: 'post',
		data: params,
		multiPartFormData: false,
	} as AxiosRequestConfig);
}

// 算法模型设备绑定 删除
export const Delete = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmModelDeviceBind/Delete',
		method: 'post',
		data: params,
		multiPartFormData: false,
	} as AxiosRequestConfig);
}

//算法模型设备绑定 详情
export const Get = (params?: object) => {
	return request({
		url: '/ITS/AlgorithmModelDeviceBind/Get',
		method: 'get',
		data: params,
		multiPartFormData: false,
	} as AxiosRequestConfig);
}
